﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="Modify.aspx.cs" Inherits="XDSoft.Web.TB_Brand.Modify" Title="修改页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td class="tdbg">
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr style="display:none">
                        <td height="25" width="30%" align="right">
                            id ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:Label ID="lblid" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            商标图样（jpg格式） ：
                        </td>
                        <td height="25" width="*" align="left">
                            <div id="divview" style="filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image);
                                width: 100px; height: 100px">
                                <!--用于显示图片-->
                                <input type="hidden" id="hddIcon" runat="server" />
                            </div>

                            <script type="text/javascript">
                                function show(upimg) {
                                    var dd = document.getElementById("divview");
                                    dd.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = upimg;
                                    dd.style.width = 60;
                                    dd.style.height = 60;
                                    dd.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").sizingMethod = 'scale';                                                                        
                                }
                                function delIcon() {
                                    var dd = document.getElementById("divview");
                                    dd.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = "";
                                    dd.style.width = 0;
                                    dd.style.height = 0;
                                    dd.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").sizingMethod = 'scale';
                                }
                            </script>

                            <asp:FileUpload ID="FileUpload1" runat="server" onpropertychange="show(this.value)" />&nbsp;                            
                            <asp:Button ID="btnDelIcon" runat="server" Text="删除图样" 
                                onclick="btnDelIcon_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            商标注册号 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtregCode" runat="server" Width="200px"></asp:TextBox><font color="Red">*</font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ErrorMessage="商标注册号为必填项" ControlToValidate="txtregCode"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            国际分类号 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:DropDownList ID="ddlTypeCode" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            申请日期 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtapplyDate" runat="server" Width="70px" onfocus="setday(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            申请人名称 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtapplyManName" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            申请人地址 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtapplyManAddress" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            申请人英文名 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtapplyManEnName" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            申请人英文地址 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtapplyManEnAddress" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            专用权期限开始日期 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtspecialStartDate" runat="server" Width="70px" onfocus="setday(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            专用权期限结束日期 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtspecialEndDate" runat="server" Width="70px" onfocus="setday(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            商标类型 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:DropDownList ID="ddlBrandType" runat="server" /><font color="Red">*</font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ErrorMessage="商标类型为必填项" ControlToValidate="ddlBrandType"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            客服代表 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtclientService" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            商品服务列表 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtproductList" runat="server" Width="200px"></asp:TextBox><font color="Red">*</font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ErrorMessage="服务列表为必填项" ControlToValidate="txtproductList"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            代理费用 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtagentFee" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            网上申请日期 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtnetApplyDate" runat="server" Width="70px" onfocus="setday(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            资料交局日期 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtdocSubmitDate" runat="server" Width="70px" onfocus="setday(this)"
                                ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            商标委托受理通知书下发日期 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtassignDate" runat="server" Width="70px" onfocus="setday(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            服务到期日 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtserviceExpire" runat="server" Width="70px" onfocus="setday(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            商标状态：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:DropDownList ID="ddlStatus" runat="server" /><font color="Red">*</font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ErrorMessage="商标状态为必填项" ControlToValidate="ddlStatus"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            商标客户：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:DropDownList ID="ddlClient" runat="server" AppendDataBoundItems="True" />
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="30%" align="right">
                            备注 ：
                        </td>
                        <td height="25" width="*" align="left">
                            <asp:TextBox ID="txtmemo" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                </table>

                <script src="../js/calendar1.js" type="text/javascript"></script>

            </td>
        </tr>
        <tr>
            <td class="tdbg" align="center" valign="bottom">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" class="inputbutton"
                    onmouseover="this.className='inputbutton_hover'" onmouseout="this.className='inputbutton'">
                </asp:Button>
                <input type="button" onclick="window.location='list.aspx'" value="返回" />
            </td>
        </tr>
    </table>
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>